package com.caigou.service.impl;

import com.caigou.bean.cms.entity.SurveySet;
import com.caigou.mapper.cms.SurveySetMapper;
import com.caigou.service.ISurveySetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SurveySetServiceImpl implements ISurveySetService {

    @Resource
    private SurveySetMapper surveySetMapper;

    @Override
    public SurveySet findSurveySetByFormId(String formId) {

        SurveySet setByFormId = surveySetMapper.findSurveySetByFormId(formId);
        return setByFormId;
    }
}
